//导入request.js请求工具
import request from '@/utils/request.js'

export const getContactsService = () => {
  return request({
    url: '/contacts/getContacts',
    method: 'get'
  })
}

export const createContactService = (contactUserId) => {
  return request({
    url: '/contacts/'+contactUserId,
    method: 'post'
  })
}

export const deleteContactService = (contactUserId) => {
  return request({
    url: '/contacts/'+contactUserId,
    method: 'delete'
  })
}